package com.haoze.nurse.dao;

import com.haoze.common.model.OrdersFileIndexDataEntity;
import com.haoze.common.model.OrdersFileIndexEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TransfusionMapper {
    /**
     * 根据barCode或QrCode获取当前病人入院号
     *
     * @param qrCode
     * @return
     */
    String queryInfoByBarCode(@Param("qrCode") String qrCode);

    /**
     * 获取用户负责病区
     *
     * @param userId
     * @return
     */
    List<Map<String, String>> getDepts(@Param("userId") String userId);


    List<Map<String, String>> queryAdmissionDiagnosis(String inpatNum);

    Map<String, String> queryPatientInfo(String inpatNum);

}
